import request from '@/utils/request'
import axios from "axios";

// 登录接口
export function login(data) {
  return request({
    url : '/login',
    method:'post',
    data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}
// 获取用户信息的接口
export function getUserInfo(query) {
  return request({
    url : '/user/getUserInformation',
    method:'get',
    query
  })
}
